package com.weacar.weixin.service;

import com.weacar.weixin.model.Bonus;

import java.util.Optional;

/**
 * @author Fong
 */
public interface BonusService {

    Bonus initBonus(String fromUserName, String phone);

    Optional<Bonus> getBonusByUser(String fromUserName);

    Optional<String> sendBonus(Bonus bonus);

    Optional<Bonus> getBonusByPhone(String phone);
}
